home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / dlx38.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-01-19  |  4KB  |  96 lines

  1. echo off
  2. cls
  3. if () == (%1) goto NO_ARG
  4. if (a:) == (%1) goto FDISK
  5. if (b:) == (%1) goto FDISK
  6. if (A:) == (%1) goto FDISK
  7. if (B:) == (%1) goto FDISK
  8. cls
  9. echo                  ┌────────────────────────────────┐
  10. echo                  │ ATI 38800 (ACC) DLXpress V2.12 │
  11. echo                  └────────────────────────────────┘
  12. echo         ───────────────────────────────────────────────────────────
  13. echo                    ERROR: Invalid drive specified.
  14. echo                      You must use drive A: or B:
  15. echo         ───────────────────────────────────────────────────────────
  16. goto DONE
  17.  
  18. :NO_ARG
  19. cls
  20. echo                  ┌────────────────────────────────┐
  21. echo                  │ ATI 38800 (ACC) DLXpress V2.12 │
  22. echo                  └────────────────────────────────┘
  23. echo  
  24. echo      This batch file needs to know what drive you wish to install
  25. echo      the files on. These files MUST reside on a diskette in order
  26. echo      to install correctly. Please ensure you have a formated high
  27. echo      density diskette in either drive A: or B:, before proceding.
  28. echo  
  29. echo                       ┌─────────────────────────┐
  30. echo                       │ Usage: INSTALL [drive]: │
  31. echo                       └─────────────────────────┘
  32. echo                           Example: INSTALL A:
  33. goto DONE
  34.  
  35. :FDISK
  36. cls
  37. echo                  ┌────────────────────────────────┐
  38. echo                  │ ATI 38800 (ACC) DLXpress V2.12 │
  39. echo                  └────────────────────────────────┘
  40. echo  
  41. echo             This batch file will conveniently extract the
  42. echo             file to a high density floppy for proper
  43. echo             installation into AutoCAD.
  44. echo  
  45. echo            ┌─────────────────────────────────────────────────┐
  46. echo            │  Please ensure that you have a blank/formatted  │
  47. echo            │1.2M or 1.44M diskette ready before you continue.│
  48. echo            └─────────────────────────────────────────────────┘
  49. echo  
  50. echo               Press any key to continue the installation
  51. echo                         or CONTROL-C to abort.
  52. echo 
  53. pause >nul
  54. cls
  55. echo                  ┌────────────────────────────────┐
  56. echo                  │ ATI 38800 (ACC) DLXpress V2.12 │
  57. echo                  └────────────────────────────────┘
  58. echo  
  59. echo Decompressing...
  60. atidlx38 /e%1
  61. if ERRORLEVEL == 0 goto OK
  62. goto ERROR
  63. :OK
  64. cls
  65. echo                  ┌────────────────────────────────┐
  66. echo                  │ ATI 38800 (ACC) DLXpress V2.12 │
  67. echo                  └────────────────────────────────┘
  68. echo  
  69. echo                     ╒══════════════════════════╕
  70. echo                     │ Installation successful! │
  71. echo                     ╘══════════════════════════╛
  72. echo  
  73. echo          Please read the README file now located on the
  74. echo          newly created driver disk. This readme file will
  75. echo          explain the installation procedure, and how to
  76. echo          use the DLXpress driver.
  77. goto DONE
  78. :ERROR
  79. cls
  80. echo                  ┌────────────────────────────────┐
  81. echo                  │ ATI 38800 (ACC) DLXpress V2.12 │
  82. echo                  └────────────────────────────────┘
  83. echo  
  84. echo                     ╒══════════════════════╕
  85. echo                     │ Installation failed! │
  86. echo                     ╘══════════════════════╛
  87. echo                         ───────────────
  88. echo           The installation has failed. Reformat the diskette
  89. echo           and try the installation again. Download the file
  90. echo           again if necessary.
  91. :DONE
  92. echo  
  93. echo          ATI Customer Support : (416) 756-0711  9AM-5:30PM EST
  94. echo                           FAX : (416) 756-0720
  95. echo                    Compuserve : GO ATITECH
  96.